package com.smartleanx.module.hrm.controller.admin.payroll.vo;

import com.smartleanx.module.hrm.service.payroll.bo.PayrollDetailFieldSaveBO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Schema(description = "管理后台 - 薪资导入 Response VO")
@Data
@Builder
public class PayrollImportRespVO {

    @Schema(description = "薪资月编号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "创建成功的薪资工号数组", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> createRecords;

    @Schema(description = "导入失败的薪资集合失败原因", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> failureRecords;

    @Schema(description = "导入重复的薪资集合", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<Map<String, PayrollDetailFieldSaveBO>> repeatRecords;
}
